home *** CD-ROM | disk | FTP | other *** search
/ The Programmer Disk / The Programmer Disk (Microforum).iso / xpro / extra / pro13 / ff.c < prev    next >
C/C++ Source or Header  |  1993-08-28  |  1KB  |  54 lines

  1. /*
  2.     ff.C
  3.  
  4.     Version 1.5
  5.  
  6.     Form Feed
  7.  
  8.     Copyright (C) 1993, Geoff Friesen B.Sc.
  9.     All rights reserved.
  10.  
  11.     Developed with: Borland C++ 3.1
  12. */
  13.  
  14. /*
  15.     set ti=c:\borlandc\tsr\tsrlib
  16.     t ff -hl
  17. */
  18.  
  19. #if !defined(__TINY__)
  20. #error Tiny Memory Model Expected
  21. #endif
  22.  
  23. #include "tsrlib.H"
  24.  
  25. char *title = "\r\n"
  26.  
  27. "╔═════════════════════════════════════════╗\r\n"
  28. "║ ▒▒▒▒▒ ▒▒▒▒▒                             ║\r\n"
  29. "║ ▒     ▒                                 ║\r\n"
  30. "║ ▒     ▒                                 ║\r\n"
  31. "║ ▒▒▒▒  ▒▒▒▒  Version 1.5                 ║\r\n"
  32. "║ ▒     ▒                                 ║\r\n"
  33. "║ ▒     ▒                                 ║\r\n"
  34. "║ ▒     ▒                                 ║\r\n"
  35. "║                                         ║\r\n"
  36. "║ Copyright (C) 1993, Geoff Friesen B.Sc. ║\r\n"
  37. "║ All rights reserved.                    ║\r\n"
  38. "╚═════════════════════════════════════════╝\r\n"
  39. "$";
  40.  
  41. #define    LPT1    0
  42.  
  43. void main (void)
  44. {
  45.    _DX = LPT1;
  46.    _AL = CR;
  47.    _AH = 0;
  48.    geninterrupt(0x17);
  49.  
  50.    _DX = LPT1;
  51.    _AL = FF;
  52.    _AH = 0;
  53.    geninterrupt(0x17);
  54. }